package com.ruoyi.web.department.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * department对象 department
 * 
 * @author ruoyi
 * @date 2024-09-26
 */
public class Department extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门编码 */
    private String cDepCode;

    /** 是否末级 */
    @Excel(name = "是否末级")
    private Integer bDepEnd;

    /** 部门名称  */
    @Excel(name = "部门名称 ")
    private String cDepName;

    /** 编码级次 */
    @Excel(name = "编码级次")
    private Long iDepGrade;

    /** 负责人编码 */
    @Excel(name = "负责人编码")
    private String cDepPerson;

    /** 部门属性  */
    @Excel(name = "部门属性 ")
    private String cDepProp;

    /** 电话  */
    @Excel(name = "电话 ")
    private String cDepPhone;

    /** 地址 */
    @Excel(name = "地址")
    private String cDepAddress;

    /** 备注 */
    @Excel(name = "备注")
    private String cDepMemo;

    /** 信用额度 */
    @Excel(name = "信用额度")
    private Long iCreLine;

    /** 信用等级 */
    @Excel(name = "信用等级")
    private String cCreGrade;

    /** 信用天数 */
    @Excel(name = "信用天数")
    private Long iCreDate;

    /** 销售贡献等级 */
    @Excel(name = "销售贡献等级")
    private String cOfferGrade;

    /** 销售贡献率 */
    @Excel(name = "销售贡献率")
    private Long iOfferRate;

    /** 时间戳 */
    @Excel(name = "时间戳")
    private String pubufts;

    /** 是否零售 */
    @Excel(name = "是否零售")
    private Integer bShop;

    /** 全局ID */
    @Excel(name = "全局ID")
    private String cDepGUID;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dDepBeginDate;

    /** 撤销日期  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "撤销日期 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dDepEndDate;

    /** 批准文号 */
    @Excel(name = "批准文号")
    private String vAuthorizeDoc;

    /** 批准单位 */
    @Excel(name = "批准单位")
    private String vAuthorizeUnit;

    /** 传真 */
    @Excel(name = "传真")
    private String cDepFax;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String cDepPostCode;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String cDepEmail;

    /** 部门类型  */
    @Excel(name = "部门类型 ")
    private String cDepType;

    /** 继承默认班次 */
    @Excel(name = "继承默认班次")
    private Long bInheritDutyBasic;

    /** 继承工作日历 */
    @Excel(name = "继承工作日历")
    private Long bInheritWorkCalendar;

    /** 默认班次 */
    @Excel(name = "默认班次")
    private String cDutyCode;

    /** 休息日方案 */
    @Excel(name = "休息日方案")
    private String cRestCode;

    /** 是否启用UTU */
    @Excel(name = "是否启用UTU")
    private Integer bIM;

    /** 英文名称 */
    @Excel(name = "英文名称")
    private String cDepNameEn;

    /** 适用零售 */
    @Excel(name = "适用零售")
    private Integer bRetail;

    /** 部门全称 */
    @Excel(name = "部门全称")
    private String cDepFullName;

    /** 部门序号 */
    @Excel(name = "部门序号")
    private Long iDepOrder;

    /** 分管领导 */
    @Excel(name = "分管领导")
    private String cDepLeader;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dModifyDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cESpaceMembID;

    public void setcDepCode(String cDepCode) 
    {
        this.cDepCode = cDepCode;
    }

    public String getcDepCode() 
    {
        return cDepCode;
    }
    public void setbDepEnd(Integer bDepEnd) 
    {
        this.bDepEnd = bDepEnd;
    }

    public Integer getbDepEnd() 
    {
        return bDepEnd;
    }
    public void setcDepName(String cDepName) 
    {
        this.cDepName = cDepName;
    }

    public String getcDepName() 
    {
        return cDepName;
    }
    public void setiDepGrade(Long iDepGrade) 
    {
        this.iDepGrade = iDepGrade;
    }

    public Long getiDepGrade() 
    {
        return iDepGrade;
    }
    public void setcDepPerson(String cDepPerson) 
    {
        this.cDepPerson = cDepPerson;
    }

    public String getcDepPerson() 
    {
        return cDepPerson;
    }
    public void setcDepProp(String cDepProp) 
    {
        this.cDepProp = cDepProp;
    }

    public String getcDepProp() 
    {
        return cDepProp;
    }
    public void setcDepPhone(String cDepPhone) 
    {
        this.cDepPhone = cDepPhone;
    }

    public String getcDepPhone() 
    {
        return cDepPhone;
    }
    public void setcDepAddress(String cDepAddress) 
    {
        this.cDepAddress = cDepAddress;
    }

    public String getcDepAddress() 
    {
        return cDepAddress;
    }
    public void setcDepMemo(String cDepMemo) 
    {
        this.cDepMemo = cDepMemo;
    }

    public String getcDepMemo() 
    {
        return cDepMemo;
    }
    public void setiCreLine(Long iCreLine) 
    {
        this.iCreLine = iCreLine;
    }

    public Long getiCreLine() 
    {
        return iCreLine;
    }
    public void setcCreGrade(String cCreGrade) 
    {
        this.cCreGrade = cCreGrade;
    }

    public String getcCreGrade() 
    {
        return cCreGrade;
    }
    public void setiCreDate(Long iCreDate) 
    {
        this.iCreDate = iCreDate;
    }

    public Long getiCreDate() 
    {
        return iCreDate;
    }
    public void setcOfferGrade(String cOfferGrade) 
    {
        this.cOfferGrade = cOfferGrade;
    }

    public String getcOfferGrade() 
    {
        return cOfferGrade;
    }
    public void setiOfferRate(Long iOfferRate) 
    {
        this.iOfferRate = iOfferRate;
    }

    public Long getiOfferRate() 
    {
        return iOfferRate;
    }
    public void setPubufts(String pubufts) 
    {
        this.pubufts = pubufts;
    }

    public String getPubufts() 
    {
        return pubufts;
    }
    public void setbShop(Integer bShop) 
    {
        this.bShop = bShop;
    }

    public Integer getbShop() 
    {
        return bShop;
    }
    public void setcDepGUID(String cDepGUID) 
    {
        this.cDepGUID = cDepGUID;
    }

    public String getcDepGUID() 
    {
        return cDepGUID;
    }
    public void setdDepBeginDate(Date dDepBeginDate) 
    {
        this.dDepBeginDate = dDepBeginDate;
    }

    public Date getdDepBeginDate() 
    {
        return dDepBeginDate;
    }
    public void setdDepEndDate(Date dDepEndDate) 
    {
        this.dDepEndDate = dDepEndDate;
    }

    public Date getdDepEndDate() 
    {
        return dDepEndDate;
    }
    public void setvAuthorizeDoc(String vAuthorizeDoc) 
    {
        this.vAuthorizeDoc = vAuthorizeDoc;
    }

    public String getvAuthorizeDoc() 
    {
        return vAuthorizeDoc;
    }
    public void setvAuthorizeUnit(String vAuthorizeUnit) 
    {
        this.vAuthorizeUnit = vAuthorizeUnit;
    }

    public String getvAuthorizeUnit() 
    {
        return vAuthorizeUnit;
    }
    public void setcDepFax(String cDepFax) 
    {
        this.cDepFax = cDepFax;
    }

    public String getcDepFax() 
    {
        return cDepFax;
    }
    public void setcDepPostCode(String cDepPostCode) 
    {
        this.cDepPostCode = cDepPostCode;
    }

    public String getcDepPostCode() 
    {
        return cDepPostCode;
    }
    public void setcDepEmail(String cDepEmail) 
    {
        this.cDepEmail = cDepEmail;
    }

    public String getcDepEmail() 
    {
        return cDepEmail;
    }
    public void setcDepType(String cDepType) 
    {
        this.cDepType = cDepType;
    }

    public String getcDepType() 
    {
        return cDepType;
    }
    public void setbInheritDutyBasic(Long bInheritDutyBasic) 
    {
        this.bInheritDutyBasic = bInheritDutyBasic;
    }

    public Long getbInheritDutyBasic() 
    {
        return bInheritDutyBasic;
    }
    public void setbInheritWorkCalendar(Long bInheritWorkCalendar) 
    {
        this.bInheritWorkCalendar = bInheritWorkCalendar;
    }

    public Long getbInheritWorkCalendar() 
    {
        return bInheritWorkCalendar;
    }
    public void setcDutyCode(String cDutyCode) 
    {
        this.cDutyCode = cDutyCode;
    }

    public String getcDutyCode() 
    {
        return cDutyCode;
    }
    public void setcRestCode(String cRestCode) 
    {
        this.cRestCode = cRestCode;
    }

    public String getcRestCode() 
    {
        return cRestCode;
    }
    public void setbIM(Integer bIM) 
    {
        this.bIM = bIM;
    }

    public Integer getbIM() 
    {
        return bIM;
    }
    public void setcDepNameEn(String cDepNameEn) 
    {
        this.cDepNameEn = cDepNameEn;
    }

    public String getcDepNameEn() 
    {
        return cDepNameEn;
    }
    public void setbRetail(Integer bRetail) 
    {
        this.bRetail = bRetail;
    }

    public Integer getbRetail() 
    {
        return bRetail;
    }
    public void setcDepFullName(String cDepFullName) 
    {
        this.cDepFullName = cDepFullName;
    }

    public String getcDepFullName() 
    {
        return cDepFullName;
    }
    public void setiDepOrder(Long iDepOrder) 
    {
        this.iDepOrder = iDepOrder;
    }

    public Long getiDepOrder() 
    {
        return iDepOrder;
    }
    public void setcDepLeader(String cDepLeader) 
    {
        this.cDepLeader = cDepLeader;
    }

    public String getcDepLeader() 
    {
        return cDepLeader;
    }
    public void setdModifyDate(Date dModifyDate) 
    {
        this.dModifyDate = dModifyDate;
    }

    public Date getdModifyDate() 
    {
        return dModifyDate;
    }
    public void setcESpaceMembID(String cESpaceMembID) 
    {
        this.cESpaceMembID = cESpaceMembID;
    }

    public String getcESpaceMembID() 
    {
        return cESpaceMembID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cDepCode", getcDepCode())
            .append("bDepEnd", getbDepEnd())
            .append("cDepName", getcDepName())
            .append("iDepGrade", getiDepGrade())
            .append("cDepPerson", getcDepPerson())
            .append("cDepProp", getcDepProp())
            .append("cDepPhone", getcDepPhone())
            .append("cDepAddress", getcDepAddress())
            .append("cDepMemo", getcDepMemo())
            .append("iCreLine", getiCreLine())
            .append("cCreGrade", getcCreGrade())
            .append("iCreDate", getiCreDate())
            .append("cOfferGrade", getcOfferGrade())
            .append("iOfferRate", getiOfferRate())
            .append("pubufts", getPubufts())
            .append("bShop", getbShop())
            .append("cDepGUID", getcDepGUID())
            .append("dDepBeginDate", getdDepBeginDate())
            .append("dDepEndDate", getdDepEndDate())
            .append("vAuthorizeDoc", getvAuthorizeDoc())
            .append("vAuthorizeUnit", getvAuthorizeUnit())
            .append("cDepFax", getcDepFax())
            .append("cDepPostCode", getcDepPostCode())
            .append("cDepEmail", getcDepEmail())
            .append("cDepType", getcDepType())
            .append("bInheritDutyBasic", getbInheritDutyBasic())
            .append("bInheritWorkCalendar", getbInheritWorkCalendar())
            .append("cDutyCode", getcDutyCode())
            .append("cRestCode", getcRestCode())
            .append("bIM", getbIM())
            .append("cDepNameEn", getcDepNameEn())
            .append("bRetail", getbRetail())
            .append("cDepFullName", getcDepFullName())
            .append("iDepOrder", getiDepOrder())
            .append("cDepLeader", getcDepLeader())
            .append("dModifyDate", getdModifyDate())
            .append("cESpaceMembID", getcESpaceMembID())
            .toString();
    }
}
